Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Better explain gotchas with the config options #552

Merged
merged 1 commit into from
Apr 25, 2021

Conversation

polarathene
Copy link
Contributor

Summary

SVGR has some internal SVGO config changes that aren't documented which differ from upstream SVGO defaults.

The dimensions option was documented in a way that was easy to be confused (previously the Default was false but was later documented as true without updating the description or CLI option), this has been better addressed.

Additionally collapsed some lines that were split to multi-line, and minor grammar fixes or improvements.


Resolves: #547
Resolves: #550

SVGR has some internal SVGO config changes that aren't documented which differ from upstream SVGO defaults.

The `dimensions` option was documented in a way that was easy to be confused (previously the `Default` was `false` but was later documented as `true` without updating the description or CLI option), this has been better addressed.
@vercel
Copy link

vercel bot commented Apr 15, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/gregberge/svgr/ERKTLFoy6pbSzdz3Kxr4Q8WRwd9W
✅ Preview: https://svgr-git-fork-polarathene-patch-1-gregberge.vercel.app

@codecov
Copy link

codecov bot commented Apr 15, 2021

Codecov Report

Merging #552 (f7c98c8) into main (fbb4ee5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #552   +/-   ##
=======================================
  Coverage   87.19%   87.19%           
=======================================
  Files          31       31           
  Lines         570      570           
  Branches      160      160           
=======================================
  Hits          497      497           
  Misses         58       58           
  Partials       15       15           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fbb4ee5...f7c98c8. Read the comment docs.

@gregberge gregberge merged commit b360117 into gregberge:main Apr 25, 2021
@gregberge
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs]: "dimensions" option is misleading Appends prefix__ to className while converting to React
2 participants